package com.itheima.sh.f_extends_constructor;

public class Z extends F{
    public Z(){
        super("波妞",18);
        System.out.println("===子类Z的 无参数构造器执行了===");
    }

    public Z(String name){
        super("波妞",18);
        System.out.println("===子类Z的 有参数构造器执行了===");
    }
}
